<?php
class Test extends Controller
{
    function Test()
    {
        parent::Controller();
        $this->load->library('session');
    }
    
    function index()
    {
        $this->my_print($this->session);
    }
    
    function my_print($obj)
    {
        echo "<pre>";
        var_dump($obj);
        echo "</pre>";
    }

    
}
?>